package cn.iocoder.yudao.module.wine.controller.app.complaincomment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

@Schema(description = "用户 APP - 投诉信息评价新增/修改 Request VO")
@Data
public class AppComplainCommentSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "5170")
    private Long id;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15118")
    private Long userId;

    @Schema(description = "评论内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "评论内容不能为空")
    private String content;

    @Schema(description = "上级评论id", requiredMode = Schema.RequiredMode.REQUIRED, example = "5396")
    private Long parentId;

    @Schema(description = "图片地址", example = "https://www.iocoder.cn")
    private String imageUrl;

    @Schema(description = "投诉信息id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25208")
    @NotNull(message = "投诉信息id不能为空")
    private Long complainId;

}
